package org.example.command;

import org.example.editor.Editor;
public class HistoryCommand implements Command{
    private Editor editor;
    private long number;
    public HistoryCommand(Editor editor,long number){
        this.editor = editor;
        this.number = number;
    }
    @Override
    public void excute() {
        editor.history(number);
    }
}
